package com.zhq.spring;

/***
 * BeanFactory的功能
 * 1、获取bean
 *
 */
public interface BeanFactory {

    /**getBean()从容器中获取一个bean对象**/
    public Object  getBean(String beanName);

    public <T> T getBean(Class<T> clazz);
}
